title: How to match string in nested JSON using Switch node
body: <p>Using Node-RED I receive this msg.payload (already) JSONified:</p>
  
  <pre><code>{ "name": "LightOnIntent", "slots": { "light": { "name": "light", "value": "kitchen" } } }
  </code></pre>
  
  <p>In my flow's first switch node I successfully match against <code>msg.payload.name</code>. The second switch should work with the contents of the slots, e.g. continue via 1 if <code>msg.payload.slots</code> contains "light". </p>
  
  <p>I can't get it to work with a plain switch node. Even with specific array addressing, looking for "light" in <code>msg.payload.slots[0]</code> doesn't work. Do I need a function node to look for elements within the nested element? </p>