Fixed serialization of parametric curves