Kong Error Responses content-type needs to be changed

Hi Harry,

I wonder if you know how to change the content-type of Kong’s error responses for example :

HTTP/1.1 404 Not Found
Date: Fri, 10 Jul 2020 15:48:27 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 48
X-Kong-Response-Latency: 0
Server: kong/2.0.4
Set-Cookie: 0eaf34af1edaad4faae9675c335b76bf=30c0dd94e9d5a54e8a040ff5fcac1456; path=/; HttpOnly

{“message”:“no Route matched with those values”}

This cannot be changed in the open-source version of Kong. It is hard-coded.