[FLINK-1251] Enums are now handled properly by the collection input format