code: protected void updateResponse(Pair<Integer,JSONObject> combined) throws ActivityException {
          ServiceValuesAccess serviceValues = getRuntimeContext().getServiceValues();
          Map<String,String> responseHeaders = serviceValues.getResponseHeaders();
          if (responseHeaders == null)
              responseHeaders = new HashMap<>();
          responseHeaders.put(Listener.METAINFO_HTTP_STATUS_CODE, String.valueOf(combined.getFirst()));
          setVariableValue(serviceValues.getResponseHeadersVariableName(),responseHeaders);
          
          setVariableValue(serviceValues.getResponseVariableName(), combined.getSecond().toString(2));
      }
docs: Updates the response variable and responseHeaders status code (if present).
  Override if your main response does not have a JsonTranslator for its type.