def parse_dict_json(dict):
    """
    Helper function that convers Python dictionary keys/values into strings
    to be dumped into a JSON file.
    """
    return {
        outer_k: {str(inner_k): inner_v for inner_k, inner_v in outer_v.items()}
        for outer_k, outer_v in dict.items()
    }