LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.
Command-List The "/json" page: Pages under /json/... must be entered into JsonPageDefs. This function dispatches them, and is the HTTP equivalent of json_cmd_top().