added keyName option to d3.nest()