set serialization mode by default