replace xml2json with xmltodoc