Made checking query params and coercing them optional for legacy compatibility

* added a new check_query_params option to enable the strictness
* all the kinks are not quite worked out for IN lists and complex queries