Expose posts to JSON requests.