clear outgoing join list of duplicated nodes and name them in an external AQL compatible way

fixes #177