Set content type to "application/json" for JSON responses
Merge pull request #79 from hbz/json-response

Set content type to "application/json" for JSON responses