_.each(this.elements, function (element) {
        json.elements.push(element.toJSON(matrix));
    });