def export_mealy_io(variables, values):
    """
    @rtype: list of dict
    """
    var_list = []
    for ind, variable in enumerate(variables):
        var_dict = {}
        var_dict['name'] = variable
        var_dict['values'] = list(values[ind])
        var_list.append(var_dict)
    return var_list
