for some reason fs can no longer write the ArrayBuffer type, so add a caste to avoid issues
also it seems that one of the dependencies is failing to clean up file handles which is preventing the script from exiting, so we use a hack to manually clean everything up after the final step completes, for json-ld -> flattened this means we have to manually set this.result in the callback and have to rename this to avoid issues
for some reason fs can no longer write the ArrayBuffer type, so add a caste to avoid issues
also it seems that one of the dependencies is failing to clean up file handles which is preventing the script from exiting, so we use a hack to manually clean everything up after the final step completes, for json-ld -> flattened this means we have to manually set this.result in the callback and have to rename this to avoid issues