Moved the content of v2/json/error.go to v2/json/server.go