add cereal example for c++ serialization