changed mapper fn
simple mr wrapper supporting collator and combiner