Updated JSON format for stacks and commands