added function to string / string to function serialization