Write no duplicate genre in the output yaml.

We keep a count of number of childs for each node and when duplicated found we keep the node with the more childs.