Added support for serializing/deserializing enums on table objects