Refactor webooklistener#webhook