fix: manage json issue on personal pref update

Changing the portrait field break the json encoding