SOAP-2095 Only convert to xml if not json
SOAP-2095 Extracted typed content interface for document content and http response based contents