Converts a v2 result proto into List of list of trial results.

msg v2 Result message to convert.
measurements List of info about expected measurements in the program. This may be used for custom ordering of the result. If no measurement config is provided, then all results will be returned in the order specified within the result.

A list containing a list of trial results for each sweep.