fix: add dynamically loaded format via addFormat()
fix: add dynamically loaded format via addFormat()

The return value of `loadFormat()` needs to have the same type as the
format you pass in via `addFormat()`. Hence use the `addFormat()` code
path in order to add a new format dynamically.

ipld/js-ipld-resolver