input_dict = OrderedDict([('method', 'constant'), ('recursive', OrderedDict
    ([('m', 'c')]))])
output_dict = json.loads(json.dumps(input_dict))
print(output_dict)
How to convert an OrderedDict into a regular dict in python3