change filter usage. json queries are used