code: function finishRendering(data){
  			// If none object found with given id return error
  			if(id && !data[0])
  				return next();
  
  			// If querying for id, then returns only the object
  			if(id)
  				data = data[0];
  
  			// Render the json
  			res.send(data);
  		}
docs: Render JSON content