Ass toSaveJSON which removes the useless attributes for saving.
Clean the views in order to call toSAVEjson on save, and get the ref lists the right way. They are no longer saved into the model as attributes.