I've developed an MPG for a REST service that needs to accept both JSON and XML. I've set the request and response types to non-xml. I need to copy the INPUT to a new context variable. For the JSON, I use a convert query params action to create JSONX. However, I do not know how to get the INPUT to the new variable is it's XML. A "copy all" stylesheet doesn't seem to work - I'm suspecting because DP sees the input as binary. Any ideas?