simplify RayMessageType using ordinals & values