I checked for double spaces and triple spaces, etc. Then used the following regex to clean up in VS Code
Find:
("gurmukhi": \{\n +".+": ")(.*?)( ){2}(.*?)(")
Replace:
$1$2 $4$5
$2 and $4 are the remaining gurmukhi string. $1 and $5 are the json around it to find gurmukhi lines.
Potential issues
I did not check for multiple gurmukhi lines. So if one line ID has two gurmukhi values, I did not check the second one. As far as I can tell, we don't have any line IDs with multiple sources yet.
Summary
I checked for double spaces and triple spaces, etc. Then used the following regex to clean up in VS Code
Find:
Replace:
$2 and $4 are the remaining gurmukhi string. $1 and $5 are the json around it to find gurmukhi lines.
Potential issues
Duration
Less than 10 minutes