Use DBAL object serialization mechanism

DBAL platform driver may need to specify special PDO::PARAM_* binding for storing serialized object into database as "text" may not be able to store serialized PHP objects because they contain null characters (\0)