ISPN-4002 Allow the reduce phase to store elements into result cache