package com.yammer.dropwizard.views;

import com.yammer.metrics.Metrics;
import com.yammer.metrics.core.Timer;

public abstract class View {
    private final String templateName;
    private final Timer renderingTimer;

    protected View(String templateName) {
        this.templateName = templateName;
        this.renderingTimer = Metrics.newTimer(getClass(), "rendering");
    }

    public String getTemplateName() {
        return templateName;
    }

    Timer getRenderingTimer() {
        return renderingTimer;
    }
}

@@ -103,16 +103,65 @@
 e.Timer;
+%0Aimport org.codehaus.jackson.annotate.JsonIgnore;
 %0A%0Apublic
@@ -423,24 +423,40 @@
 g%22);%0A    %7D%0A%0A
+    @JsonIgnore%0A
     public S
@@ -513,24 +513,40 @@
 ame;%0A    %7D%0A%0A
+    @JsonIgnore%0A
     Timer ge

Make sure Jackson ignores the view getters.