Ideally, this would couple to a item/folder input element and send the json metadata in another input field. A similar technique could be used to send annotations on items.