undo xml2json script