complete derialization and deserialization of Bezier Splines