perl -pe 's/"(\w+)"\s?:/$1=/; s/\[/\{/g; s/\]/\}/g' input.json > output.lua
rg "^(\s+\w+|\w)" -c -g '*.lua' -g '!**/Templates/**' -g '!OsirisEventDebug.lua' | awk -F':' '{sum += $2} END {print sum}'