Added utility to convert XML into JSON