title: How to decode gerrit code review rest api responses
body: <p>I've read this for querying gerrit <a href="https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html" rel="nofollow noreferrer">https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html</a></p>
  <p>But even in the examples in the document the response from gerrit has this garbled string at the start of what looks like a valid array of change detail records, and this means it is not valid json.
  I'm using the requests module for python to access the /changes end point.
  Has anyone successfully decoded the &quot;json&quot; output from the gerrit code review server?</p>