modify how to create json file #9