enable TypeName serialization