yaml view def loader - support enums