d3.merge flattens an array of arrays