Text this: Compact spectroscopy of keV to MeV X-rays from a laser wakefield accelerator