Use YamlVersionDirective instead of (int, int)
Use YamlTagDirective instead of (~str, ~str)
Fix YamlNode::end_mark