public Map<String, Object> toConfigurationNode() {
		Map<String, Object> output = new LinkedHashMap<String, Object>();
		output.put("group", group);
		if (subgroups != null && subgroups.size() != 0) {
			output.put("subgroups", subgroups);
		}
		if (permissions != null && permissions.size() != 0) {
			Map<String, List<String>> tmp = new LinkedHashMap<String, List<String>>(); 
			for (String world : permissions.keySet()) {
				tmp.put(world, internalFormatToFile(permissions.get(world)));
			}
			output.put("permissions", tmp);
		}
		if (info != null && info.size() != 0) {
			output.put("info", info);
		}
		if (globalPermissions != null && globalPermissions.size() != 0) {
			output.put("globalpermissions", internalFormatToFile(globalPermissions));
		}

		return output;
	}