to move filter-and-merge to REST.