- added smart pointers to serialization