updates YamlUtils for newer Symfony versions