add operator symbol and add to_string memfun for tree to yaml conversion