Write JSON content type for API responses
Merge pull request #607 from smarterclayton/return_correct_content_type

Write the json content type for API responses