Updated yaml parsing using Symfony Library