def jsearch(json, sfld, search, rfld):
    """ return a list of values from a column based on a search """
    lst = []
    for j in json:
        if j[sfld] == search or search == '*':
            lst.append(j[rfld].strip())
    return lst
