To convert toolbox XML into JSON, copy/paste the XML into the html source, press generate, and copy/paste the json out. Note toolbox "kind" is not exported and needs to be manually entered, see documentation
1011011231194503.16410501100110011abc{textVariable}abc{textVariable}{textVariable}abcabcabcabc5{listVariable}{listVariable}{listVariable}{listVariable},100500#ff0000#3333ff0.5name of filename of file