Hello I've multidimensional array that looks like that: 

```
array(13890) {
  [0]=>
  array(2) {
    ["Icd"]=>
    array(2) {
      ["id"]=>
      int(111)
      ["nazwa"]=>
      string(6) "DŻUMA"
    }
    ["ProjectIcd"]=>
    array(0) {
    }
  }
  [1]=>
  array(2) {
    ["Icd"]=>
    array(2) {
      ["id"]=>
      int(566)
      ["nazwa"]=>
      string(7) "ŚWINKA"
    }
    ["ProjectIcd"]=>
    array(0) {
    }
  }

```

An so on.

I want to change it so it looks something like that:

```
array(13890) {
  [0]=> array(2) {
      ["id"]=>
      int(111)
      ["text"]=>
      string(6) "DŻUMA"
    }

```

How is this possible to do?

I want to add, I want to convert the array to json and feed it to select2 js in ajax. 

Will that be a problem or not?