The state is printed on errors as how golang serialize it, let's print it as json so is independant from golang and still one liner.
The state is printed on errors as how golang serialize it, let's print it as json so is independant from golang and still one liner.