A C++11 serializer