Parse an SDMX-JSON response into a map of series key → ordered
observations.
This parser is intentionally tolerant: missing observations,
attribute arrays, or structure blocks all degrade to an empty result
rather than throwing. That lets the caller pipeline treat a broken
response as "no data" and fall through to a World Bank fallback.
Parameters
raw: string|SDMXJSONResponse|null|undefined
Raw SDMX-JSON payload as returned by the IMF MCP server
(accepts string, object, null, or undefined).
Parse an SDMX-JSON response into a map of series key → ordered observations.
This parser is intentionally tolerant: missing observations, attribute arrays, or structure blocks all degrade to an empty result rather than throwing. That lets the caller pipeline treat a broken response as "no data" and fall through to a World Bank fallback.