Use topojson.mesh to merge lines.