I'm returning from controller with Ajax a model which is set to be toArray in order to manipulate the data. However, this list has let's say 2 objects, in each object a job can have a list of pictures. I can loop through the object, but when I loop through the list within that object with the property name is says that the name doesn't exists, which in my case I'm pretty sure it exists.
the posts.FindJobs.JobPictures is a list with some bytes in it on each index.

this is my code.
$.each(posts.FindJobs, function (i, posts) {
console.log(posts);
$(".job-container").append(`
<li class="separate-job" id="All-Jobs-Id" value="` + posts.jobId + `">
<div class="content-li-All-Jobs">
<h2 class="content-li-All-headline" id="headline-for-Update">`+ posts.Headline + `</h2>
<a class="btn btn-success bid-for-job" value="`+ posts.jobId + `" href="#">Bid now</a>
<div class="user">
<blockquote class="blockquote">
<p class="mb-0">
<div class="about-job">`+ posts.About + `</div>
</p>
<div class="blockquote-footer">
<cite>-`+ posts.Username + `</cite>
</div>
</blockquote>
</div>
<div class="pictures-li">
`+$.each(posts.FindJobs.JobPictures, function (i, pictures) {
console.log(pictures);
})+`
</div>
<div class="job-date-li">
Posted
</div>
<div class="-job-town">Area | <span class="city">`+posts.JobCity+`</span></div>
</div>
</li>
`)
});