Somw work for json size calculation.