As a matter of history you're right, just as JSON was intended as nothing more than the literal syntax for JavaScript programs. But it turned out to be a lot more widely applicable.
> To say it is a lightweight representation of HTML is correct.
No, it's a representation of writing. It represents the input not the output.