Make Worker.environment() round-trip better