Metalation of polyphenylene ethers