[klarna] fix encoding when setting error code, message back to details.