def METHOD_NAME(waze_jsons, back_filled=False):
    waze_alerts = []
    waze_traffic_jams = []
    waze_file_timestamp = None
    for waze_data in waze_jsons:
        waze_file_timestamp = datetime.datetime.fromisoformat(waze_data["endTime"])
        waze_alerts.extend(parse_waze_alerts_data(waze_data["alerts"], back_filled))
        waze_traffic_jams.extend(parse_waze_traffic_jams_data(waze_data.get("jams"), back_filled))
    logger.debug(f"Ingesting #{len(waze_alerts)} waze_alert records in bulk")
    insert_waze_alerts(waze_alerts)
    logger.debug(f"Ingesting #{len(waze_traffic_jams)} waze_traffic_jams records in bulk")
    insert_waze_traffic_jams(waze_traffic_jams)
    enrich_waze_alerts_ended_at_timestamp(waze_file_timestamp, waze_alerts, back_filled)
    enrich_waze_traffic_jams_ended_at_timestamp(waze_file_timestamp, waze_traffic_jams, back_filled)
    return len(waze_alerts), len(waze_traffic_jams)