Change type of value from string to text