improved filter support to allow arbitrary mongo queries