Some more wrapping + media type needs to be text/xml