Refactor and introduce support for XML
Add inflections and xml2js dependencies
Fix issues with post and put calls