Planning API on Hapijs