Change internal serialization of TypeSignature back to a string

I'm not sure how often you need to do this, but if it is a lot, consider adding a simplified constructor (or static factory method).