Added json metadata to stats.