compatibility with node-xml2js