async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def serialize(self, value, display=False):
        if value is None:
            return ""
        return encode(value)