def parse_list_of_dicts(result, feature, fields):
    """Parse list of dictionaries"""
    items = []
    if feature in result and result[feature]:
        for _dict in result[feature]:
            item = []
            for field in fields:
                item.append(str(_dict[field]) if field in _dict else '')
            items.append('|'.join(item))
        return ','.join(items)