Set the content type to json for the json route
Merge pull request #23 from adelevie/json_content_type

Set the content type to json for the json route