Add Warning JSON serialization