def _clean_dict(d):
return {str(k): v for k, v in d.items()}<EOL>
Sanitize dictionary for JSON by converting all keys to strings.

Parameters
----------
d : dict
    The dictionary to convert.

Returns
-------
cleaned_dict : dict