This may be a bit more readable
```
option match {
  case Some(result) => result.list().asScala
  case None => Seq.empty[KeyValue]
}
```