Allow configuration of the serialization type for the driver.