jq takes JSON as input and transforms it according to the filters you supply. Since it’s a command-line tool, you can pipe ...
Google added a section on canonicalization best practices for JavaScript to the JavaScript SEO best practices document.