Performance testing of XML and JSON in the browser