Change internal serialization of TypeSignature back to a string