Reduce response.json() calls

This reduces the response.json() calls mentioned in http://bugzilla.pculture.org/show_bug.cgi?id=19777

r?