Generalize matchstats_json to also store DPR and CCWM