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