// we need a different mapper to write the output, one without our
// schema hack module installed.
// Let's just set it to pretty_print the output instead of having
// to construct a configuration only to get a simple value.
ObjectMapper mapper = new JsonProvider(true)
.locateMapper(Object.class, MediaType.APPLICATION_JSON_TYPE);
FileWriter jsonFile = new FileWriter(apiFile);
try {
mapper.writeValue(jsonFile, allApiCalls);
}