Throw error when model is not configured for webservice
Fix uniqueness validation (mongo ids)