list is in the form of {value: [command ...], kind:LIST, ... }