Simple API to parse XML into JSON