Replaced xml2js with xmldoc