write distri to results.json instead of needledir