def METHOD_NAME(self):
    """Return a dict of this object, with keys in JSON format."""
    dc_definition = {
        'id': self.id,
        'credentialType': self.credential_type.name,
        'schemaId': self.schema_id,
        'schemaName': self.schema_name,
        'schemaVersion': self.schema_version,
        'credentialDefinitionId': self.credential_definition_id,
        'isDeleted': self.is_deleted
    }
    return dc_definition