It would be awesome if some day there was a "jmapfilter". I think JMAP would be really efficient for this use case.