fixing parser for xml2js