Element-resolved study on the evolution of magnetic response in FexN compounds