title: python find all occurrences of key in JSON and modify value
body: <p>I have the following problem. Using Python 2.7, I have a JSON and I have to find all occurrences of key &quot;workers&quot;.</p>
  <p>the value is always a list of integers</p>
  <pre><code>   workers : [22,14,523,...]
  </code></pre>
  <p>and I have to compare them with some other list of integers.</p>
  <pre><code> ID = [14,22,26,32,...]
  </code></pre>
  <p>in case in workers list one number is missing from ID list  that number in workers has to be removed.</p>
  <p>I hope I have made this clear enough.</p>
  <p>The problem is this is a nested JSON with different levels.</p>
  <p>Any suggestions ?</p>
  <p>Thank you</p>