Added an API route for getting post JSON given a post slug.