added hack for serializing Vector2D control points