Add respond_to/respond_with json to post controller