Serialization.to_model and save_as_model added