Adjust to writer-oriented structure printing by caching tree responses to file then passing that back up for rendering to the response.