Oxygen Redox Reaction in Lithium-based Electrolytes: from Salt-in-Solvent to Solvent-in-Salt