Fixes for migration to hapi 8.0