Resource uniqueness on the server was not working because it relied on an NSSet to do equality checking.  Changed to use an NSDictionary and added migrations so that changing the model will hard reset the resource table (not the whole store) but providing a new resource with the same name and model as an existing resource but with different config (such as REST routes) will work and not reset the data or create duplicate routes.