remove workspaceBlockToCode, blocksToCode is good enough