Electrochemical de-methylation of lignin