static fromJSON (json) {
      return new BlockNode(json.blocks)
    }
Instantiate an BlockNode from its JSON representation
@param {Object} json
    An object structured like
    `{"mathjs": "BlockNode", blocks: [{node: ..., visible: false}, ...]}`,
    where mathjs is optional
@returns {BlockNode}