String packaging = jsonObject.has("packaging") ? jsonObject.getString("packaging") : "jar";
Map<String, List<ModuleDependency>> dependencies = new LinkedHashMap<>();
if (jsonObject.has("dependencies")) {
JSONObject scopes = jsonObject.getJSONObject("dependencies");
for (Object s : scopes.keySet()) {
String scope = s.toString();
List<ModuleDependency> scopeDeps = new ArrayList<>();
dependencies.put(scope, scopeDeps);
JSONArray deps = scopes.getJSONArray(scope);