copy to clipboard for json viewer and data tree