Added YAML import.
Handled duplicate YAML items.