buggy but working. xml2json needs to switch to node-xml2json