Fix xml2js
Merge pull request #30 from andrerod/upgrade

#557: Upgrade SM APIs to use xml2js 0.2