def _FormatJson(self, obj):
        if self.__flags.json_format == 'compact':
            return '%s' % obj
        elif self.__flags.json_format == 'pretty':
            return json.dumps(obj, indent=2, separators=(',', ': '))
dataset/ETHPy150Open mbrukman/cloud-launcher/src/cloud_launcher.py/GceHandler._FormatJson/original