Comment by _heimdall
Yet another reason I wish browsers hadn't abandoned XSLT.
Shipping serialized data and defining templates for rendering data to the page is a really clever solution, and adding support for JSON in addition to XML eases many of the common complaints.