See https://github.com/APS-USAXS/ipython-usaxs/issues/196, use the more-cautious `v = doc["data"].get(k, 0)`