Had no idea this existed... replacing the slash at the end of the URL and appending .json will output the post in JSON. Quite nice!