Simple c++ serialization tool.