jq
is a very powerful (somewhat hard to use) tool to make structural manipulations to JSON data:
https://stedolan.github.io/jq/
You could likely also accomplish this through scripting, but I'd probably do it with jq, to be honest.
For example, adding a computed tooltip to all your OPC tags: