Builds metadata from a §4.2 JSON structure.
Builds metadata from a loosely-typed map, as produced by upstream resolver responses.