added pattern-exercising code to collect LeafEntities (HBA, FA) under top-level (Host, Array) based on alias patterns