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.
Merge pull request #5 from KraYmer/master

Write no duplicate genre in the output yaml.