event gen, and roadnet serializer