How can I process a python dictionary with callables?,"{k: (v() if callable(v) else v) for k, v in a.items()}"