Hardcoded but does the job.
Just select what you want and then s<char>
. And since you do the selection, anything can be surrounded.
Replicate this for every pair of char
and closing-char
. Like for [
{
"before":["s", "["],
"after": ["c", "[", "<C-r>", "\"", "]"]
},