[yaml.reader]: added #normalizeDoc() method