tspanObjectToSvgObject = (source, width = 400, height = 100, x = 20, y = 20, fontSize = 16) => {
var clone = Array.from(source);
clone.unshift('text', {'x': x, 'y': y, 'font-size': fontSize});
var target = ['svg', {
'viewBox': `0 0 ${width} ${height}`,
'width': width, 'height': height,
'xmlns': 'http://www.w3.org/2000/svg'
}, clone];
return target;
}