Show correct value in export of enum field instead of key.