Add basic functions for transient-string

string->transient
transient->string