pal_diagnostics: KeyValue only accepts strings