OK I have added a "--script" command line option. If present, it won't output anything until the end, at which point it will output one-test-result-per-line as JSON objects.