Avoid the PDO Exception when we try to serialize the form with a db row

Avoid the PDO Exception when we try to serialize the form with a db row