Retooled the json reporter. Scopes are in an array with a depth field, not a nested, recursive structure.

It will be much easier to template this kind of json structure into
HTML.