intention was that `null` means it is a function in a map key which expects map value to the be the arguments -- specified without parentheses.  empty means parentheses already applied, with 0 args.

have you changed this?  else the code needs to be left as was i think.