Add to_json for interval data refresh.