Adding key index to edges in "vertices.connected" property