Hi @anamikapatle ,
You can use sling model exporter functionality to export component properties into customized JSON
Refer -
1) https://medium.com/@toimrank/aem-sling-model-exporter-90dc872835b92) http://www.sgaemsolutions.com/2017/06/sling-model-exporter-in-aem-63.html
Thanks,Manisha