you can do some kind of reverse engineering to import data; I done
that once and it worked pretty fine !
when exporting, you ask the user to copy a stringified version of all
the bookmarks, then when importing, you ask the user to past this
stringified version
now you only have to rebuild the json objects with :
var bookmarks = JSON.parse(str);
hope this helps