Write no duplicate genre in the output yaml.

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