public static JsonNode buildResult(final String rawSchema,
final String rawData, final boolean useV3, final boolean useId)
throws IOException {
final ObjectNode ret = JsonNodeFactory.instance.objectNode();
try {
final ProcessingReport report = buildReport(rawSchema, rawData,
useV3, useId);
final boolean success = report.isSuccess();
ret.put(ValidateResponse.VALID, success);
ret.put(ValidateResponse.RESULTS, ((AsJson) report).asJson());
return ret;
} catch (ServiceException e) {