Exercise 4: Writing pipeline results to a new collection