more thorough renaming. children is now a list, since the index is redundant (contained in thing.metadata.name)