fix requests version in requirements.txt
use r.json() instead of json.loads(r.content)

Also update tests to use new_response.
factorize tests for command
rename resource_url to base_url
Merge remote-tracking branch 'origin/client-homogenization'