- replace XML by abstract syntax tree in JSON, postfix, ... - write function to convert XML to the new representation (blockly returns XML anyway) - ideally write inverse function back to XML to be able to reconstruct blockly programs