serializing and saving category on bookmarks