Simple serializer for modern C++.