[Yaml] fixed bugs with folded scalar parsing