changes to xml parser from json