This mainly originates from https://github.com/hed-standard/hed-examples/tree/main/hedcode/matlab_scripts/web_services
downloaded on 19 Nov 2022 as version 5504edb.

The hed_assemble.m function was shared as part of https://github.com/fieldtrip/fieldtrip/issues/2138

See also https://hed-examples.readthedocs.io/en/latest/HedMatlabTools.html
