let
Source = Json.Document(Web.Contents("https://www.tdcanadatrust.com/includes/rates/fxNonCashRatesJSON.jsp?get_param=value")),
rates = Source[rates],
ConvertedToTable = Table.FromList(rates, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
ExpandedColumn1 = Table.ExpandRecordColumn(ConvertedToTable, "Column1", {"product", "rate"}, {"Column1.product", "Column1.rate"}),
ExpandedColumn1product = Table.ExpandRecordColumn(ExpandedColumn1, "Column1.product", {"code", "limit", "unit"}, {"Column1.product.code", "Column1.product.limit", "Column1.product.unit"}),
ExpandedColumn1rate = Table.ExpandRecordColumn(ExpandedColumn1product, "Column1.rate", {"cad", "usd"}, {"Column1.rate.cad", "Column1.rate.usd"}),
ExpandedColumn1ratecad = Table.ExpandRecordColumn(ExpandedColumn1rate, "Column1.rate.cad", {"rec", "pay"}, {"Column1.rate.cad.rec", "Column1.rate.cad.pay"}),
ExpandedColumn1rateusd = Table.ExpandRecordColumn(ExpandedColumn1ratecad, "Column1.rate.usd", {"rec", "pay"}, {"Column1.rate.usd.rec", "Column1.rate.usd.pay"}),
Result = ExpandedColumn1rateusd
in
Result