Change internal serialization of TypeSignature back to a string

This will compile a pattern on every call.  At least cache the pattern, and consider writing a custom verifier in the future since regexes are not fast