serialize

open override fun serialize(instance: Boolean): String

strategy for scalar serialization