dumps any-dimsional object