Export an SDD's statistics to a JSON file.