using case class and pattern matching to add query options for the MongoDB Driver