function _getEmptyCircuitState(revision) {
    let val = JSON.parse(revision.peekActiveCommit());
    val["cols"] = [];

    return JSON.stringify(val);
}
Returns current state without circuit. Keeps all custom gates.
@param {!Revision} revision
@returns {!string}