Email (record): Entanglement dynamics of Nitrogen-vacancy centers spin ensembles coupled to a superconducting resonator