new json responses adapted to mashape
small code cleanup
Merge pull request #47 from ipeirotis/new_json_responses

New json responses adapted to mashape