Modification of the anion sublattice in metal nitrides