Check the depth when invalid JSON input ends with a number
Print the right value when debugging end events
go fmt