YamlParser - fix for saving root map nodes.