Add graphs to JSON response format