The wrapped class' serializer, type can be inferenced from just serializer()
serializer()
How to create the FlatWrap class given the wrapped value