return writer.toString();
return StringUtils.replace(writer.toString(), "\r\n", "\n");
    private String writeModel(Database model)    {        StringWriter writer = new StringWriter();        new DatabaseIO().write(model, writer);        return writer.toString();    }