I think kde plasma's clipboard tool is quite underrated for this type of thing too. you add something similar as an action, then you get a little popup format button whenever you copy any json. I use it for all sorts of similar things
I used to run into this type of problem frequently. I've found that personally adopting something like https://conventionalcomments.org really helps with ambiguity.
I think the big reason to put syntax highlighting in the language server is you have more info, ex you can highlight symbols imported from a different file in one color for integers and a different for functions