<pre>
for component in device.get('component', []):
</pre>