add collapser for hierarchical dict data -> 2D