draft for fixing getSummaries() and adding collapsible array elements

draft for fixing getSummaries() and adding collapsible array elements