I have a nested array like following:

```
[
  myfield: {value1,value2},
  myotherfield: {value1,value2}
]

```

If i have the next scenario

```
[
  myfield: {"A","B"},
  myotherfield: {"C","D"}
]

```

How can i iterate the arrays to get the value1 of both fields at the same time? In this case i need to get A & C on the first iteration and B & D on the second iteration.