Add types for logging TLS connections to JSON