There’s an example, where serial_number and hw_version are explicitly present:
Which tells me something is off with vscode. Also, I don’t recall seeing any error squigglies previously, so something seems to have changed. I vaguely recall there was a recent update to vscode, wonder if that’s what caused the issue