Support hapi 17-19 ✨
Since hapi doesn't have the string pre function notation to access server methods anymore
Optimus now exposes Optimus.pre
functions that are wrappers to still easily handle pre functions with different inputs.
So instead of pre: ['optimus.transformSimpleRules(payload)']
You should do pre: [Optimus.pre.transformSimpleRules('payload')]