add serialize adapter for save serializable data in database in bytes an...

...d string