defects.json generator