Function that converts from type I to type O
I
O
@override Object? serialize(T value) => serializeValue(value);