fixing json file created with create command