As this is an API error I can just drop the extraction and include the log level string directly, no?