Simplify the parsing logic for Gerrit JSON data

For the xauth token & related gerrit settings.

We now get the proper JSON object which we can,
more deterministically query for data.

Change-Id: I9555c9a0e157ee2f6d7a21182afaa828a1ab4280