smaller vector and quaternion serialization