fixed issue with empty lists in json file