title: Remove element from nested object
body: <p>I have following object:</p>
  <pre><code>{&quot;2&quot;:{&quot;cid&quot;:&quot;2&quot;,&quot;uid&quot;:&quot;2&quot;},&quot;1&quot;:{&quot;cid&quot;:&quot;1&quot;,&quot;uid&quot;:&quot;3&quot;}}
  </code></pre>
  <p>In this example I want to remove</p>
  <pre><code>&quot;1&quot;:{&quot;cid&quot;:&quot;1&quot;,&quot;uid&quot;:&quot;3&quot;}
  </code></pre>
  <p>from it.
  I have tried all solutions that I found on Stack Overflow, and could not make any of them work. I am mostly PHP person, so I might miss something important here?</p>