`json = JSON.parse(response.body)`

then you can just use `json` in the following lines. Makes it easier to read.