code: private Map<String, String> getDependenciesFromJson(JSONObject json, String keyJson) {
          Map<String, String> nameVersionMap = new HashMap<>();
          if (json.has(keyJson)) {
              JSONObject optionals = json.getJSONObject(keyJson);
              Iterator<String> keys = optionals.keys();
              while (keys.hasNext()) {
                  String key = keys.next();
                  nameVersionMap.put(key, optionals.getString(key));
              }
          }
          return nameVersionMap;
      }
docs: /* --- Private methods ---