def METHOD_NAME(measurements: List[PP], jsonlf: PP) -> List[Dict]:
    log.info(f"Filling {jsonlf.name}")
    # report_id, input, 2020092119_IT_tor.n0.0.jsonl.gz
    lookup_list = []
    with gzip.open(jsonlf, "w") as jf:
        for linenum, msmt_f in enumerate(measurements):
            try:
                post = ujson.load(msmt_f.open())
            except Exception:
                log.error("Unable to parse measurement")
                jf.write(b"{}\n")
                continue
            fmt = post.get("format", "").lower()
            msm = None
            if fmt == "json":
                msm = post.get("content", {})
            elif fmt == "yaml":
                try:
                    msm = yaml.load(msm, Loader=yaml.CLoader)
                except Exception:
                    pass
            if msm is None:
                log.error("Unable to parse measurement")
                jf.write(b"{}\n")
                continue
            jf.write(ujson.dumps(msm).encode())
            jf.write(b"\n")
            rid = msm.get("report_id") or ""
            input = msm.get("input") or ""
            msmt_uid = msmt_f.name[:-5]
            d = dict(
                report_id=rid, input=input, measurement_uid=msmt_uid, linenum=linenum
            )
            lookup_list.append(d)
    return lookup_list