Serialize and deserialize Enum values as strings

Fixes #15