should we just do:
```scala
kryo.writeObject(out.array)
```
here?

That might be the better fix. Then we get any optimizations on Array serializations that may be registered and don't repeat code.