Fix Yaml::parse() errors

Of course this might be just a temporary fix for:

"The ability to pass file names to Yaml::parse() was deprecated in 2.7 and will be removed in 3.0. Please, pass the contents of the file instead."
and passing the YAML string to the parser directly is indeed supported in all versions of Symfony