Issue #20 Add support for enum subtype deserialization