Added Reads and Writes support for Enumerations. Fixes #2050

Would be nice to have test for Writes also