title: Dropwizard hiding field in json
body: <p>What's the best way to hide a field on a model in Dropwizard?  (If I want to be able to deserialize the field via Jackson, but hide it when serialization)</p>
  
  <p>For example, if I have the following model:</p>
  
  <pre><code>class User {
    private String secret;
    private String username;
  }
  </code></pre>
  
  <p>I want to be able to create a User with a secret via calling <code>new ObjectMapper().readValue()</code>, but I want to hide the secret field it when it's serialized into JSON.</p>