added hierarchical display of objects (just like for arrays)