Saving in RestController looks up and saved by name. Added isEqualTo method to models