Passed in parameter in to_model_instance is a hash