Filtering: try to avoid parsing all strings as if they were resource_uris
Build filters: split `filter_group` into separate and/or filter dict.
Replace a `scalar` by `only.as_pymongo`