writeDataValue

Write out the data value. This method writes nulls as "null",
serializes (using Java serialization and base16 encoding) out non-
primitives/boxed primitives and non-persistent types, and writes
primitives/boxed primitives and oids using their toString.