[bookmark] add support for metadata attached to bookmarks