Reformatting it is fine
The signature is over the canonical compact form, not the bytes as they sit on disk. Config management rewrites files, editors reindent on save, support processes pretty-print. None of that changes what a licence says, so none of it may invalidate one: a provider must not lose their entitlement to a stray text editor. Compaction never touches the inside of a string, so it removes formatting and nothing else.
Found the hard way. The round-trip test failed on its first run: MarshalIndent
re-indents an embedded raw message, so every licence the first version of the CLI produced was
unverifiable.