Replaced xml parsing from xml2json to xml2js

Changes related to using a different node module as used by other node module and related changes as structure returned by node modules are different

Jira Issue: WP-408