You can have nested lists using the children property.

This example works like selecting from a key / value list.