A wrapper to turn getconfig into a hapi plugin