Fix bug with requests API, json is function not dict
Add docs on how credentials file is supposed to look