validate and normalize default and enum values
test not needed here
Merge pull request #1460 from marcel-blonk/PLFM-2712

validate and normalize default and enum values