mCopyTransformer = XmlUtil.getTransformerFactory().newTransformer();
mCopyTransformer.setOutputProperty(OutputKeys.METHOD, "xml");
mCopyTransformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
mCopyTransformer.setOutputProperty(OutputKeys.INDENT, "yes");
XPath xpath = XmlUtil.newXPath();
NamespaceContext ns = new NamespaceContext("http://www.w3.org/1999/xhtml", "xhtml");
xpath.setNamespaceContext(ns);
mContentTypeJsonResponsePath = xpath.compile("/json-response");
} catch (TransformerConfigurationException e) {
log.error(e.getMessage(), e);
} catch (XPathExpressionException e) {