I need to combine some data. I have an array `var company = ["Toyota", "Honda"]` and I have some corresponding data in a javascript file.

JS file:

```
var Toyota = {
  text: "Toyota",
  origin: "Japan",
  icon: "icon"
};

var Ford = {
  text: "Ford",
  founder: "Henry Ford",
  icon: "icon"
};

var Honda = {
  text: "Honda",
  models: "12"
};

```

How can read this file to only look for the elements **present in the array** and then create the JSON object that looks like below (The JSON object is two companies since Ford was not present in the array). The data of the JSON will be take from the javascript file. I am trying to write the code in javascript.

```
{ 
 "name": "Toyota",
 "origin": "Japan",
},
{
 "text": "Honda",
 "models": "12",
},

```

Thank you