Make matrix, vector, quaternion easily (de)serializable