Two JavaScript functions that allow you to convert from JSON to XML and back (not the other way around).
This implementation is using the Microsoft JSON-XML mapping as described here:
https://msdn.microsoft.com/en-us/library/bb924435(v=vs.110).aspx