title: Knockout foreach no access to object
body: <p>i´m struggling arround with this problem for hours now and i have no idea</p>
  
  <p>i´m having an observable array thats initially empty, heres a reduced version : </p>
  
  <pre><code>var AppModel = function(data){
      var self=this;
  
      self.found=ko.observable(   
        {      
          hits:ko.observableArray([])
        }
      );    
  
  };
  </code></pre>
  
  <p>on some point later i get some result from api in plain json</p>
  
  <pre><code>console.dir(response.data.hits);
  self.found().hits(response.data.hits);
  </code></pre>
  
  <p>this is the output of console.dir : </p>
  
  <p>![console dir][1]</p>
  
  <p>when i now type in console : </p>
  
  <pre><code>appModel.found().hits() 
  </code></pre>
  
  <p>it returns : </p>
  
  <p>![enter image description here][2]</p>
  
  <p>so everything looks pretty fine</p>
  
  <p>what i want to do is a foreach binding : </p>
  
  <pre><code>            &lt;div data-bind="foreach: found().hits()"&gt;
                  &lt;div class="box"&gt;
                      &lt;p data-bind="value: $data.id" &gt;&lt;/p&gt;
                      &lt;p data-bind="value: JSON.stringify($data)" &gt;&lt;/p&gt;
                      &lt;p data-bind="value: id" &gt;&lt;/p&gt;
                      &lt;p data-bind="value: nameFull" &gt;&lt;/p&gt;
                      &lt;p data-bind="value: $data.nameFull" &gt;&lt;/p&gt;
                      &lt;p data-bind="value: function(){ return this.nameFull }" &gt;&lt;/p&gt;
  
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>and ".box" gets rendered 10 times but theres no value in the <p> tags</p>
  
  <p>looking like : </p>
  
  <p><img src="https://i.stack.imgur.com/Fuh83.png" alt="enter image description here"></p>
  
  <p>so you see i´m not able to access the properties, what am i doing wrong ? </p>
  
  <p>unfoirtunatly i cant setup a fiddle,
  someone has an idea ? i really tryed everything i know .. and i made a lot of foreach bindings before, i have absolutely no idea</p>