fixed geojson output

geojson output fixed, now json text can be copied and used in other
applications