docs: public static PJsonObject parseSpec(final String spec) {
          final JSONObject jsonSpec;
          try {
              jsonSpec = new JSONObject(spec);
          } catch (JSONException e) {
              throw new RuntimeException("Cannot parse the spec file: " + spec, e);
          }
          return new PJsonObject(jsonSpec, "spec");
      }