How to obtain %{key: value} with list with nested map

list
|> Enum.flat_map(fn %{"handle" => handle, "p" => prices} ->
  Enum.map(prices, &%{handle: handle, price: &1["price"]})
end)