PIM-3250 : add array typehinting in Mongo filters and sorters