Fixes another instance of serializing env vars