allow dict instances in all filters param, and fix tests by using an OrderedDict