fix(server/server.go): stats endpoints emit application/json content type header