Update ObjectSerialization.scala

cleanup