Portions of code in src/convert-to-nested-object.mjs
written by Christian Schurr chris@schurr.dev.
The original code can be seen on GitHub at https://github.com/milamer/parse-nested-form-data
and https://www.npmjs.com/package/parse-nested-form-data.