adopt new JSON format to stats