In my entity I have:
private Set<Account> accounts;
Now it is being serialized like this:
"accounts": null
I need to change it to
"accounts": []
I have many (150+) entities which have this problem - how can configure jackson mapper to achieve this?