Improve debug printing of enums