Read and write JSON-stat data sets