The XML to JSON Plugin (jQuery.xml2json) is a script you can use to convert simple XML into a JSON object.

http://www.fyneworks.com/jquery/xml-to-json/