fixed formatting for serialized objects in mysql