With this approach it would be easier to add different sources of configuration, that we do not necessairly have to be in YAML format.