revising the topoJSON writer