display object with indentation