fix geojson not accepting geometry arrays, close #1840