var hooksGetById = controller(function(req) {
    return hooks.getHookById(req.swagger.params.identifier.value);
});