#2710 enable TypeName serialization

#2710