I have two arrays, the first array contains field name, type and id.

```
arr1 = [
    {
        "n" => "cat",
        "t" => 0,
        "id" => "42WTd5"
    },
    {
        "n" => "dog",
        "t" => 0,
        "id" => "1tM5T0"
    }
]

```

Second array contains field, id and value.

```
arr2 = [
    {
        "42WTd5"=>"meow",
        "1tM5T0"=>"woof"
    }
]

```

How can I join them by id to produce the following result.

```
cat: meow
dog: woof

```

Any help is appreciated.