We are trying to extract component and template structure in JSON format from AEM CMS version 6.5, we required template structure details like fields Name, field types, any datasource url which added into field and for component, we required template name along with content which used to build the r...