tls_handshake dump a PKey object into the report, it needs to be reformatted to PEM to be writable by the YAML reporter.