Get object by name
<p>I am building what I think to be slightly complicated, but I have realized it doesn't work the way I would like to to, so I am here. </p>

<p>The following is an example of what I am doing.</p>

<pre><code>ITEM1: {
  prop1: 'desc1',
  prop2: 'desc2',
},
ITEM2: {
  prop1: 'desc1',
  prop2: {
    SUBITEM1: {
      prop1: 'desc1',
      prop2: 'desc2',
      prop3: 'desc3'
    }
  }
}
</code></pre>

<p>Now, this works perfectly if I do the following</p>

<pre><code>ITEM2.prop2.SUBITEM1.prop1;
</code></pre>

<p>The problem is I can not do <code>ITEM2.prop2.SUBITEM1</code> I need to do it in the following manner</p>

<pre><code>ITEM2.prop2["SUBITEM1"].prop1
</code></pre>

<p>The project is still young, so if it that whole list needs to be rebuilt to do this properly, I don't mind.</p>

<p>I hope this makes sense.</p>
