File assumptionFile = new File(assumptionDirectory, "assumptions.json");
try
{
JsonFactory f = new JsonFactory();
JsonGenerator g = f.createJsonGenerator(assumptionFile, JsonEncoding.UTF8);
g.useDefaultPrettyPrinter();
g.writeStartObject();
for (Map.Entry<String, Map<String, Map<String, String>>> ksEntry : assumptions.entrySet())
{
g.writeFieldName(ksEntry.getKey());
g.writeStartArray();