python create new json file and write to it