proper content-type for debug endpoint
Merge pull request #43 from kmike/json-debug

proper content-type for debug endpoint