support decoding of enumerated values.
Merge pull request #9 from mikesteele81/master

support decoding of enumerated values.