Rename groupReduce to groupMap in scala frontend