support use of default values that are enumerated types in thrift-based idl (thanks Elena Ceseracciu)