public String toJSON() {
        ArrayNode array = JACKSON_MAPPER.createArrayNode();
        for (RequestAttempt attempt : this) {
            array.add(attempt.toJsonNode());
        }

        try {
            return JACKSON_MAPPER.writeValueAsString(array);
        } catch (JsonProcessingException e) {
            throw new RuntimeException("Error serializing RequestAttempts!", e);
        }
    }
User: michaels@netflix.com
Date: 6/25/15
Time: 1:03 PM
zuul-core/src/main/java/com/netflix/zuul/niws/RequestAttempts.java