Converted to encoded polyline; fixed issues with struct tags