r2.get_info = function(cb) {
    r2.cmd('ij|', function(json) {
        cb(JSON.parse(json));
    });
};