def entries_to_str(data):
    """Convert each string entry of a string/dict/list into a str.

    Parameters
    ----------
    data : dict, list

    Returns
    -------
    dict, list, str
        Return the dict with the new entries.
    """
    if isinstance(data, str):
        output = str(data)
    elif isinstance(data, dict):
        output = {}
        for key, val in data.items():
            key = entries_to_str(key)
            val = entries_to_str(val)
            output[key] = val

    elif isinstance(data, list):
        output = [entries_to_str(d) for d in data]
    else:
        output = data

    return output