Early dereferencing of the type aliases is not gonna work here as we have to adapt to the type mapper configured in `MappingMongoConverter`. Otherwise types are written in a different way than they're read.