Add JsonIgnore annotations.