avoid null in results.json
include needledir in results.json