/*
Mongoose save function, used by default
function saveAsset (asset,res) {
		asset.save (function (err) {
			if (err) { return next(err); }
            var response = {
                _id: asset.id,
                metadata: asset.metadata,
                name: asset.name
            };
			return res.json(200, response);	//and send the response
		});
	}