EXR header info

Using RV’s embedded functionality, via Python, Mu, or compiled, how can I read/get the entire header (aka metadata) of an EXR image? We need to parse the cryptomatte information contained in the exr header.
Hoping this is possible within RV, else we would have to use something like OpenEXR, etc.

Thanks!