Enum yaml fix.

Allow multiple enum values to be parsed from yaml with the same syntax as a string[].