Added jsonstat conversion