generate filter.json