docs: private static JSONObject parseTarget(Shape target) throws JSONException {
          JSONObject targetObject = new JSONObject();
  
          targetObject.put("resourceId",
                           target.getResourceId().toString());
  
          return targetObject;
      }