Refactor inspect/show output