A protein o-methyltransferase that recognizes and catalyzes the methyl esterification of isoaspartic acid and d-aspartic acid residues in peptides and proteins. It initiates the repair of proteins damaged by the spontaneous decomposition of normal L-aspartic acid and L-asparagine residues.