def normalize_intelx_data(raw): return [{"source": "intelx", "value": r} for r in raw.get("records", [])] #def normalize_shodan_data(raw): return [{"source": "shodan", "value": r} for r in raw.get("matches", [])] def normalize_virustotal_data(raw): return [{"source": "virustotal", "value": raw}]