A generic MongoDB database adapter for Hapi