I would use a bit different name for the pref, e.g. "cookies.jsonExport" or yet better and more specific "cookies.jsonClipboardExport"

Honza