force str() before merge context into os.environ