private JSONWriter getJsonWriter() {
MapJsonRenderer mapJsonRenderer = new MapJsonRenderer();
JSONWriter jsonWriter = new JSONStringer();
jsonWriter.addRenderer(FlowValidationResultJsonRenderer.INSTANCE);
jsonWriter.addRenderer(FlowValidationTrackingJsonRenderer.INSTANCE);
jsonWriter.addRenderer(new FlowStateJsonRenderer(true));
jsonWriter.addRenderer(mapJsonRenderer);
return jsonWriter;
}