fixes #8; added option to write out minimized GeoJSON