Make objects and arrays collapsible in results UI