def format_fields_for_query(fields):
    """
    Format fields names to cann query module.

    Arguments:
        - `fields`: list of fields, exemple:: 
            
            ['field1','name','user']

    Returns::

        [
            {'name':'field1'},
            {'name':'name'},
            {'name':'user'},
        ]

    """
    return [{"name": value} for value in list(fields)]