move hapi config into config.json