several variables are defined instance level which causes concurrency issues.
For example. if a request is disabled by 'x-apigee-json2xml-disable' header, disable=true will get set and thereon apply to all requests.
These variables should be scoped to the request object so that they only apply to the specific request thread.