Use correct Content-Type header for JSON output
Merge pull request #2242 from GeertDD/json

Use correct Content-Type header for JSON output