adds JSON failure log
adds LineString support