shp file is correctly generated
the script now works fine and generate correctly the shapefile and the json files