title: Can I use jackson mixIns to modify "getters" behavior?
body: <p>I'm in the need of do some clean up of some invisible characters (\r\n) and html tags for specific getters on my entities.</p>
  
  <p>I've been trying to use mixIns to modify what's returned from the entity but I'm not sure how can I reference the target class in my MixIn so I can add the clean up logic there. From the my tests seems that not even my method is called.</p>
  
  <p>This is what I have so far, but it never gets called</p>
  
  <pre><code>public abstract class BookMixIn {
  @JsonProperty
  public String getTitle() {
      return StringUtils.deleteWhitespace(getTitle());
  }
  }
  
  public class Book {
      private String title;
      // getter/setters omitted...
  }
  </code></pre>
  
  <p>And the ObjectMapper config:</p>
  
  <pre><code>mapper.getSerializationConfig().addMixInAnnotations(com.company.Book.class, 
                                                      com.company.BookMixIn.class);  
  mapper.configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false);  
  String tmp = mapper.writeValueAsString(book);
  log.info(tmp);
  </code></pre>
  
  <p>Can this be accomplished via MixIns? </p>
  
  <p>Thanks</p>