def cleanup(self, document_or_schema):
        return self.cleanup_fn(document_or_schema) if self.cleanup_fn else document_or_schema
Given a doc or schema, pass it through a cleanup function prior to mapping
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/couchexport/export.py/ExportConfiguration.cleanup