Don't expose debug or trace in applicationjson responses of the gateway.