JSON deserialization from ID
We use a lot of @JsonIdentityReference(alwaysAsId = true)
to assist with JSON serialization, but this causes problems with deserialization.
We need to upgrade our object mapper with a deserializer that is able to take "currentCooperator": 12345
from JSON and convert it to new Cooperator(12345)
.