 			
 			collectionPath = "#{schema.settings.apiRoot}/#{collection}"
 			
+			keyify = (key, value) ->
+				O = {}
+				O[key] = value
+				O
+			
 			app.get collectionPath, (req, res) ->
 				
 				Model.authenticatedAll(

					req.user

				).then(
					(count) -> serveJson res, 200, count: count
					interceptError res
				).done()
			

						null
				
				).then(
					(models) -> serveJson res, 200, keyify collection, models
					interceptError res
				).done()
				
