It's possible to end up with invalid `JSON` because primitives are handled differently in `flatten` and `stringify_primitive`. See [interactive playground](https://svelte.dev/playground/ea3637defafd4809b8631fa3642644f2).
It's possible to end up with invalid
JSONbecause primitives are handled differently inflattenandstringify_primitive.See interactive playground.