Fix read json in loadgeojson