edit gen to dump JSON and save stock JSON info