fixed bug in togeojson to make paths expand