My script adds some annotations to each page on a site, and it needs a few MBs of static JSON data to know what kind of annotations to put where.
Right now I'm including it with just var data = { ... }
as part of the script but that's really awkward to maintain and edit.
Are there any better ways to do it?