Add get_eff_xsec and make more robust using json
A little more error handling