create converter of nullable enums