YamlParser - fix for saving root map nodes, code review.