fix trial builds for DiagnosticJson