def METHOD_NAME(unknown_input, recursion_limit=100):
    """
    This function recursively sanitizes the non-dict values of an input
    dictionary in preparation for dumping to JSON string.
    """
    input_type = type(unknown_input)
    if input_type not in [dict, list] or recursion_limit <= 0:
        return sanitizeString(unknown_input)
    elif input_type == list:
        return [
            METHOD_NAME(item, recursion_limit=recursion_limit - 1)
            for item in unknown_input
        ]
    else:
        return {
            key: METHOD_NAME(val, recursion_limit=recursion_limit - 1)
            for key, val in unknown_input.items()
        }