Why are numbers being output incorrectly with CLVM?

This question was asked at chia_network.public on Keybase.

The operators in CLVM are also atoms, so while they are represented as text in a program, they actually have a numerical value. For example, the operator c has the value 4. As such, when you display a CLVM program, or its output, those operator numbers will be converted back to text, meaning that the output may look wrong even though it is technically correct.