Possible Method to trim the json model generated in AEM SPA
Hello everyone !
We were trying to implement AEM SPA using react and consuming the model.json generated to display the data to another applications. While consuming the model.json there are some json data being coming up from the page level , which we need to trim and display only the components authored in the page. Any possible method for this approach ?
Also for example if we check the json response for the text component

Is it possible to edit " :type: " to type , without the semicolon ? Or is this a default configuration ?