Text this: Tailoring the properties of the 2D ferromagnet CrSBr by lanthanide doping