Investigation into surface composition of nitrogen-doped niobium for superconducting RF cavities