public <T> T parseJson(final Class<T> clazz, final T defaultValue) {
        try {
            return JsonUtils.mapper.readValue(getBodyString(), clazz);
        } catch (JsonProcessingException jpe) {
            return defaultValue;
        }
    }
to be used by HtmlRequest only
main/src/main/java/cgeo/geocaching/network/HttpResponse.java