make sources and licenses hierarchical