def json_format_dict(self, data, pretty=False):

        if pretty:
            return json.dumps(data, sort_keys=True, indent=2)
        else:
            return json.dumps(data)


# Run the script
Converts a dict to a JSON object and dumps it as a formatted
dataset/ETHPy150Open ForgeRock/frstack/gce/gce.py/GceInventory.json_format_dict