JSON to XML/CCDA conversion