call serialize_deserialized_values in before_save hook