I want to get JSON data of a page and I came across this blog which is exactly what I want. But the problem is, I need to work with service instead of servlet. Can this be done? If yes, pls suggest the way.Blog: http://aemlab.blogspot.com/2019/07/get-json-response-of-aem-page.html