public static String printDetails(String details) {
Throwable failure = null;
try {
ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.enableDefaultTyping(DefaultTyping.NON_FINAL);
failure = mapper.readValue(details, Throwable.class);
} catch (Exception e) {
// eat up any data converter exceptions
}