making calls resistant to requests library's obnoxious version differences between json as a dict vs json as a function that returns a dict