Rebuilt doc stats including jsonp format.