Moved (de-/in-)flate to gut serializer