Btw this obviously won't work on wireless headphones because none of the AirPods line support lossless audio and Apple don't support the latest Bluetooth standard for non-Apple buds/IEMs/cans anyway (I don't think they're 100% uncompressed either), so you'll only get lossless and hi-res - which is marketing guff anyway - on wired earphones/headphones or if you're using Apple music with a wired speaker set-up.
To me is fine since I can't hear any difference between AAC 256kbps and ALAC in a blind volume-matched test and when I'm using my in-ears it's hardly a perfect listening environment anyway. At home with my speaker set-up it'll be nice psychologically more than anything as my streaming service will finally be the same quality, audible or otherwise as my old CD collection.