I don't think that preferences need to be searchable, so serialisation looks fine to me.