I am trying to write a function that will recursively replace the string \'{{obj.}}\' in an object obj with the value obj.
\'{{obj.}}\'
obj
obj.