added topoJSON and reduced nested data code