Fingerprints of stellar populations in the near-infrared: an optimized set of spectral indices in the JHK bands 0. Issue 2 (10th April 2021)