Firefox already has a built-in when exporting bookmarks to HTML format it will export the Favicon data as base64-encoded strings included in the HTML file. It should be simple enough to include this data in the JSON export/import and/or whatever is u...