Currently we don鈥檛 have a method for overwriting the core-api (which comes from here: strapi/packages/strapi/lib/core-api at master 路 strapi/strapi 路 GitHub ) without forking the strapi package and maintaining your own fork.
You could potentially write a middleware that intercepts the default ctx.response and rebuilds it with your structure 