one foo / bar foo / baz foo / qux / two foo / qux / three foo / qux / four five #### $VAR = [ { name = 'one', }, { name = 'foo', children => [ { name => 'bar', }, { name => 'baz', }, { name => 'qux', children => [ { name => 'two', }, { name => 'three', }, { name => 'four', }, ], }, ], }, { name = 'five', }, ];