The output from https://gerrit.wikimedia.org/r/changes has a leading )]}' in the output. E.g.:
$ curl -sS 'https://gerrit.wikimedia.org/r/changes/?q=616846&o=CURRENT_REVISION' | head -n 10 )]}' [ { "id": "operations%2Fsoftware%2Fwmfmariadbpy~master~I68bb5d2528c58d2e050338ae0e364df90ddf6321", "project": "operations/software/wmfmariadbpy", "branch": "master", "topic": "debians", "hashtags": [], "change_id": "I68bb5d2528c58d2e050338ae0e364df90ddf6321", "subject": "Create debian packages.",
This causes json parsing to fail.