Writing method to covert string properties to text