Methods to convert a XML string into a JSON string, and to covert a  JSON string into an XML string.