[DF-4571] YamlNode refactoring.