def METHOD_NAME(self, record):
    """Dump the configured values before the record is committed."""
    obj = self.obj(record)
    if obj is not None:
        # only set the 'access' property if one was present in the
        # first place -- this was a problem in the unit test:
        # tests/resources/test_resources.py:test_simple_flow
        record["access"] = obj.dump()