toJSON(list) {
        var jsons = [];

        list.forEach(n => {
            var json = BaseSerializer.prototype.toJSON.call(this, n);
            Object.assign(json, n);
            jsons.push(json);
        });

        return jsons;
    }
AnimationSerializer
@author tengge / https://github.com/tengge1