jsts: improved jts processing and resiliency