In case you're not familiar with this Ruby syntax, it's actually a syntax sugar as:

```ruby
node[tag] = node[tag] || Hash.new
```