model.to_dict doesn't need to be passed the model