This is disappointing. At the very least, you should have the option of specifying to stream results as they are available or to return a single, valid, json document. If the endpoint doesn't return a valid document, then the endpoint is broken, plain and simple.
Additionally, the engineering team at some point seems to have reused this same functionality to provide json exporting via the web interface. This means that after performing a search and then attempting to download, the downloaded file (via HTTP, web client, no streaming) is broken. Sure, I can reparse it and fix it, but then I'm only being reminded that the tool is broken in the first place.
... View more