Hi George,
this is happening because structure is saving data as YAML and indentation and white-spaces play key role in YAML.
You can also checkout these: https://github.com/getkirby/panel/issues/714 and Prevent Panel from stripping spaces for further information.
Oleg