express to hapi conversion