My Json File:

```
{
  "countries": [
  "Australia", "France", "Belgium"
  ]
}

```

I have a `index_list = ['Germany', 'USA, 'Ireland, Australia, "France", Belgium, "Kenya", "Spain"`
I want to filter out all the countries which are on the json file.

```
data_json= json.dumps(data["countries"])
res = filter(lambda i: i not in data_json, index_list)
print(res)

```

This gives me `<filter object at 0x0000022D05C0E6A0>` error.