This function executes a Workview and returns a JSON object.
let wv = workview.execute(workview, titleDimensions, titleElements);
workview
titleDimensions
titleElements