handling both 'application/json' and 'application/json; charset=utf-8'
Merge pull request #2 from peecky/json-response

handling both 'application/json' and 'application/json; charset=utf-8'