send contenttype JSON when content is JSON
Merge pull request #1 from soulgalore/sendJSON

Send contentType JSON when content is JSON