So I have a custom function that returns a default dict. This is how the value is currently returned as:
defaultdict(<function multi_level_dict at 0x0000014E2E099A60>, {'a': 1, 'b': 2})
How can I turn this value into:
{'a': 1, 'b': 2}
Preferably without using a for/while loop.