response.json is a method