Rewrite the actual JSON file instead of a global search/replace

Like JS, we iterate through the actual, parsed stylesheet and only change the occurrences of `local://` at locations we expect, rather than doing a global search/replace