update inspector.go, using json to print fields