encode dragged entries into JSON
remove forgotten ref to unlink menu