get unique strings using MapReduce