added value attribute to enum types

This will reasonably serialize using Colingo/form-data-set