Added Reads and Writes support for Enumerations. #2050
Merge pull request #3101 from ottovw/enumJson

Added Reads and Writes support for Enumerations. Fixes #2050