Can you write your own custom function for converting the data structure to string ?