Process WMSCapabilities property inheritance and flat layers list in a single pass for increased performance.