GenSerializer.cpp