Convert sub-trees from Radlex ontology to flat dictionaries