If you're ok with string keys, you can always do `new Map(Object.entries(obj))`. Alternatively, just implement the `iterable` interface on your custom data type.
Literals are nice sugar, but it hardly seems "ham handed".
Literals are nice sugar, but it hardly seems "ham handed".