title: Jackson's @JsonView annotation does not work
body: <p>I annotated class User with @JsonView and when it returned I see all fields even than that not contains in view class. Here is my class</p>
  
  <pre><code>@Entity
  @Table(name = "users")
  public class User implements Serializable{
  
  /**
   * 
   */
  private static final long serialVersionUID = 1L;
  @Id
  @Column(name="id")
  @GeneratedValue(strategy=GenerationType.AUTO)
  private Long userID;
  @JsonView(View.Summary.class)
  @Column(name="email")
  private String email;
  @JsonView(View.Summary.class)
  @Column(name="user_name")
  private String firstName;
  @JsonView(View.Summary.class)
  @Column(name="user_last_name")
  private String lastName;
  @JsonView(View.Summary.class)
  @Column(name="phone")
  private String phone;
  @JsonView(View.Summary.class)
  @Column(name="origin")
  private String address;
  @JsonView(View.Summary.class)
  @Column(name="birth_date")
  private Long birthDate;
  @JsonView(View.Summary.class)
  @Column(name="gender")
  private Long gender;
  @JsonView(View.Summary.class)
  @Column(name="about_me")
  private String aboutMe;
  @JsonView(View.SummaryWithPhoto.class)
  @OneToOne(fetch = FetchType.EAGER)
  @JoinColumn(name="photo")
  private Photo avatar;
  @JsonView(View.SummaryWithSession.class)
  @Transient
  private UserSession session;
  
  //getters and setters
  </code></pre>
  
  <p>Here is my View class</p>
  
  <pre><code>public class View {
  public interface Summary {}
  public interface SummaryWithPhoto extends Summary {}
  public interface SummaryWithSession extends SummaryWithPhoto {}
  }
  </code></pre>
  
  <p>SO then I request get method with <code>@JsonView(View.SummaryWithPhoto.class)</code> annotation I always get userID field but shouldn't. Here is endpoint code</p>
  
  <pre><code>@JsonView(View.SummaryWithPhoto.class)
  @RequestMapping(method = RequestMethod.GET)
  public ResponseEntity&lt;User&gt; getUser(@RequestHeader(value="Access-key") String accessKey,
                                       @RequestHeader(value="Secret-key") String secretKey)
  </code></pre>