Serializable form of TypeRep