code: private JSONObject jsonFromElement(final AtlasElement element) throws JSONException {
          final ObjectNode objectNode = this.objectNodeFromElement(element);
  
          try {
              return new JSONObject(new JSONTokener(MAPPER.writeValueAsString(objectNode)));
          } catch (IOException ioe) {
              // repackage this as a JSONException...seems sensible as the caller will only know about
              // the jettison object not being created
              throw new JSONException(ioe);
          }
      }
docs: /*
  Creates GraphSON for a single graph element.