Strictly speaking, you don't need to store/send the fourth element here; since we know the quaternion is normalized (x*x + y*y + z*z + w*w = 1), w will always be equal to 1 - x*x - y*y - z*z.