System.out.println("(No body)");
}
System.out.println("=== RESPONSE ===");
if (response.getEntity() != null) {
BufferedHttpEntity entity = new BufferedHttpEntity(response.getEntity());
response.setEntity(entity);
String responsePayload = CharStreams.toString(new InputStreamReader(entity.getContent()));
try {
JsonNode responseNode = jsonMapper.readTree(responsePayload);
System.out.println(writer.writeValueAsString(responseNode));
} catch (JsonProcessingException e) {