I have an array object which looks like this

```
identificationType: "DL",
identificationDesc: "Test",
referenceNumber: "123456789",
country: "US",
province: "Illinois"

```

I want my data model to look like this

```
identificationType: "DL",
identificationDesc: "Test",
referenceNumber: "123456789",
issuedEntity:{
country: "US",
province: "Illinois"
}

```

Initially I assign array of Objects to a variable

```
identification: this.model['identificationArray'].

```

IdentificationArray is an array of Object and contains all the details but in a simple json format. I want to be able to somehow manipulate it and insert data by creating an issuedEntity object and then country and province details inside that object.

For that I tried iterating over the array but I am getting error.Can someone help me figure out how to do it.

```
myModel.identification.forEach(identificationObj => {
issuedEntity: {
province = identificationObj.issuedEntity.province,
country = identificationObj.issuedEntity.country,
}
} 
);

```