code: function renderJSON( request, reply, err, result ){
  	if(err){
  		if(err.code === 404){
  			reply(new hapi.error.notFound(err.message));
  		}else{
  			reply(new hapi.error.badRequest(err.message));
  		}
  	}else{
  		reply(result).type('application/json; charset=utf-8');
  	}
  }
docs: render json out to http stream