[Refactor] 3D json logic, the py would generate mean, sd, max, min, sum, count for CCN type