add register.attributes for hapi 6
2.3.1