`Fields` must (de)serialized based on the value, not enum name
Merge pull request #9 from ryantenney/fields

`Fields` must (de)serialized based on the value, not enum name