port: Fixing run summary json output (#6431)
### Description
Fixing the output for run summary json. Mostly moving some fields around
and fixing the global env var to resolve away `infer`. Also fixes the
passthrough env variables to be null when the Go version is null.
### Testing Instructions
<!--
Give a quick description of steps to test your changes.
-->
Closes TURBO-1649
Co-authored-by: nicholaslyang <Nicholas Yang>