changes for json parsing and REST error capture
Merge branch 'master' of https://github.com/ogranada/Simple