Bugfix

I just tried your script and it crashed because `response.json` is a function, and thus not iterable.

This commit fixes this issue.