Fixed bug when trying to create list items from a json file