I'm trying to use content sync mechanism to generate JSON's for my webpages in a zip file which will be ultimately used in mobile app. below is the app configuration i'm using to create the jsons zip. the issue i am facing is, if i use "Model" as selector then it is throwing errors in the json files. whereas when i do model.json (../en.model.json) in the page url it is returning complete page json. I've also tried other selectors like Infinity and caas, but they are not giving complete JSON of content fragment rather just returns the path as value. trying to find if there's anything to configure in OSGi or write custom code to work it out.
App-Config:
path: /content/sample/en
type: pages
selector: model
deep: true
extension: json
targetRootDirectory: www