Add string serialization for Capsule, Line, LineSegmetn, Plane, Ray, Sphere and Triangle.