Page tree macro content through confluence API

Hi, I am trying to call confluence page API using /rest/api/content/4785176?expand=body.view this returns all the content properly but page tree macro is not returned in viewable format instead something like below is what I get
<p>\n\n\n<div class=\"plugin_pagetree conf-macro output-inline\" data-hasbody=\"false\" data-macro-name=\"pagetree\">\n\n \n \n <ul class=\"plugin_pagetree_children_list plugin_pagetree_children_list_noleftspace\">\n <div class=\"plugin_pagetree_children\">\n </div>\n </ul>\n\n <fieldset class=\"hidden\">\n <input type=\"hidden\" name=\"treeId\" value=\"\" />\n <input type=\"hidden\" name=\"treeRequestId\" value=\"/plugins/pagetree/naturalchildren.action?decorator=none&amp;excerpt=false&amp;sort=position&amp;reverse=false&amp;disableLinks=false&amp;expandCurrent=false\" />\n <input type=\"hidden\" name=\"treePageId\" value=\"4785176\" />\n\n <input type=\"hidden\" name=\"noRoot\" value=\"false\" />\n <input type=\"hidden\" name=\"rootPageId\" value=\"4785147\" />\n\n <input type=\"hidden\" name=\"rootPage\" value=\"\" />\n <input type=\"hidden\" name=\"startDepth\" value=\"0\" />\n <input type=\"hidden\" name=\"spaceKey\" value=\"STS\" />\n\n <input type=\"hidden\" name=\"i18n-pagetree.loading\" value=\"Loading...\" />\n <input type=\"hidden\" name=\"i18n-pagetree.error.permission\" value=\"Unable to load page tree. It seems that you do not have permission to view the root page.\" />\n <input type=\"hidden\" name=\"i18n-pagetree.eeror.general\" value=\"There was a problem retrieving the page tree. Please check the server log file for more information.\" />\n <input type=\"hidden\" name=\"loginUrl\" value=\"\" />\n <input type=\"hidden\" name=\"mobile\" value=\"false\" />\n\n <fieldset class=\"hidden\">\n <input type=\"hidden\" name=\"ancestorId\" value=\"4785141\" />

Is it possible to get rendered macro in body ?

It looks like the Page Tree macro gets its content with an asynchronous HTTP call. Looking at my browser’s network tools, it looks like the content comes from the naturalchildren.action. Here’s an example URL from my local dev instance, with a base URL of http://localhost:8080/confluence :

http://localhost:8080/confluence/plugins/pagetree/naturalchildren.action?decorator=none&excerpt=false&sort=position&reverse=false&disableLinks=false&expandCurrent=true&placement=sidebar&hasRoot=true&pageId=65557&treeId=0&startDepth=0&mobile=false&ancestors=65557&treePageId=950275&_=1608229878093