public JsonNode getJson(String relativeUrl, TokenHolder tokenHolder) {
byte[] response = get(relativeUrl, tokenHolder);
try {
return new ObjectMapper().readTree(response);
} catch (IOException e) {
throw new InvalidJsonException("Could not parse JSON response, was " + new String(response), e);
}
}