serialize

abstract fun serialize(instance: Any, output: OutputStream)
open fun serialize(instance: Any): String