public AtlasInfo getNunaliitAtlas(String databaseName) throws Exception {
CouchDb db = couchClient.getDatabase(databaseName);
JSONObject atlasDesign = db.getDocument("_design/atlas");
JSONObject nunaliit = atlasDesign.optJSONObject("nunaliit");
String atlasName = nunaliit.getString("name");
boolean restricted = nunaliit.optBoolean("restricted",false);
String submissionDbName = nunaliit.optString("submissionDbName",null);
boolean submissionDbEnabled = nunaliit.optBoolean("submissionDbEnabled",false);
AtlasInfo info = new AtlasInfo(databaseName, atlasName, restricted);
info.setSubmissionDbName(submissionDbName);