fix handling of null values in geojson output - closes #347