mapreduce - remove duplicates