C++ Serializer framework with JSON implementation