Method to convert a WeatherData object to a JSON map
Map<String, dynamic> toJson() => _$WeatherDataToJson(this);