Added content-type to headers as application/json when returning json.
Merge branch 'master' of https://github.com/csdms/wmt