I am building a content string for displaying inside a Google Maps infobox but i'm not getting the correct output:

My code:

```
    // Create HTML string for infobox
    var contentString = '<h1>' + park.name + '</h1>' +
      '<p>At ' + park.name + ' there were:</p>' +
      '<ul>' +
        $.each(cars, function(index, value) {
          console.log(value.name);
          '<li>' + value.name + '</li>'
        });
      '</ul>';

```

The console.log gives me the actual name but, the content I outputted in the `<li>`'s I just get: 

> 
> [object Object]
> 
> 
> 

Any ideas?