added shp_to_geojson() function