def plugin_zip(p):
    """Maps columns to values for each row in a plugins sql_response and returns a list of dicts

    Parameters
    ----------
    p : :class:`taniumpy.object_types.plugin.Plugin`
        * plugin object

    Returns
    -------
    dict
        * the columns and result_rows of the sql_response in Plugin object zipped up into a dictionary
    """
    return [
        dict(list(zip(p.sql_response.columns, x))) for x in p.sql_response.result_row
    ]