Text this: Reversible Deposition and Dissolution of Magnesium from Imidazolium-Based Ionic Liquids