For a new project I want to use a CakePHP 4 as REST backend with a Vue.js frontend. Now Cake uses a nested data structure while vue.js uses a flat data structure.