private Object extractBody(String responseBody) {
        try {
            JsonNode node = objectMapper.readTree(responseBody);
            if (node.isArray()) {
                return objectMapper.convertValue(node, listOfObj);
            } else if (node.isObject()) {
                return objectMapper.convertValue(node, mapOfObj);
            } else if (node.isNumber()) {
                return objectMapper.convertValue(node, Double.class);
            } else {
                return node.asText();
            }
        } catch (IOException jpe) {
            LOGGER.error("Error extracting response body", jpe);
            return responseBody;
        }
    }
@param input HTTP Request
@return Response of the http call
@throws Exception If there was an error making http call Note: protected access is so that
    tasks extended from this task can re-use this to make http calls
http-task/src/main/java/com/netflix/conductor/tasks/http/HttpTask.java