code: public JSONObject getRawDataAsJson() throws IOException
      {
          String input = getRawDataAsString();
          if ( input == null ) {
              return null;
          }
          
          return new JSONObject(input);
      }
docs: get the original request raw data as json
  
  @return  JSONObject
  @throws  IOException