Based on the sample which you shared it does not look like a standard cf multifield but rather some customized version of it, hence it might be easier to process the graphql response on front end.
The js code which I shared will be used by the application consuming your graphql query. So, you can ...