[Yaml] fix for wrong parsing functionality on some indentation cases