save vars.json also in the testresults

(not shown in the webui, but good to have)