ObjectMapper mapper = new ObjectMapper();
result.put("result", "error");
result.put("message", error);
result.put("resource", request.path());
result.put("method", request.method());
result.put("request_header", (JsonNode)mapper.valueToTree(request.headers()));
result.put("API_version", BBConfiguration.configuration.getString(BBConfiguration.API_VERSION));
setCallIdOnResult(request, result);
return result;
}