Adds structured output to `exec` via the `--structured-output` parameter.
allow-expect-in-tests
allow-unwrap-in-tests