Set Content-Type header to application/json in HTTP API responses.
Update http_api tests to check Content-Type.
Merge branch 'feature/issue-1054-http-api-json-content-type' into develop