Convert message fields to enums
Merge pull request #82 from code-mancers/enum-as-keys

Convert message fields to enums