core/apiRouter: add indented XML