update schema dumping for enum data type