def METHOD_NAME(rhapi):
    pilots = rhapi.db.pilots
    payload = []
    for pilot in pilots:
        # payload.append(pilot)
        payload.append({
            'Callsign': pilot.callsign,
            'Name': pilot.name,
            'Team': pilot.team,
        })
    return payload