Jon: new document builder utility to create json/xml documents. added the xml web api.