getCommandList returns array of objects and loves children.

Used to return array of strings, but this didn't work with
children. Now returns array of objects with text and
possible children.