json v1 client/server: make it possible to pass JSON in an error field