* corrected flaw that the check only verifies a subset of grants per security
    group.
* added custom code to print the JSON to exert stylistic influence over the
    output to make it easier for people to read.