nested document map/reduce cleaning