Ad-hoc and framework JavScript rendering JSON into the DOM is the modern way, don't you know? There's a reason for this: JSON is easier to produce than XML in many server-side systems.
Maybe what's needed is an extension to XSLT/XPath to consume JSON and transform it to XML.