mapReduceSync map receives key, value