grub2: update json and xml