changes to status codes and JSON content
Merge pull request #1 from Gringox/master

Changes to status codes and JSON content