def dumpJSON(self, strict=True, validate=False):
    return json.dumps(self.dumpDict(strict=strict, validate=validate), indent=4, sort_keys=True)
def dumpJSON(self, strict=True, validate=False):
    return json.dumps(self.dumpDict(strict=strict, validate=validate), indent=4, sort_keys=True)