jkabot
context.output.iterator().each(function(key, value) { // key, value is the output of your reduce stage return true; // need to return true to continue iterating })