Implemented a map/reduce emit-cond for the cond form