refactor node#inspect