Ensure that nested elements' names are normalized