Update for new API responses.

It would be great if this were some actual JSON reading.