title: How to add RectIntl Formatted message as html attribute
body: <p>I have a header logo image for which alt and title attribute should render from i18n messages.</p>
  <h1>message_en.json</h1>
  <pre><code>{
      &quot;logoTitle&quot;: &quot;Link open in new tab or window&quot;,
      &quot;logoAlt&quot;: &quot;some description goes here..&quot; 
  }
  </code></pre>
  <h1>header.js</h1>
  <pre><code>import { FormattedMessage } from 'react-intl/dist';
  
  &lt;a
    href={url}
    title={&lt;FormattedMessage id=&quot;logoTitle&quot;/&gt;}
  &gt; 
    &lt;img
        src={src}
        alt={&lt;FormattedMessage id='logoAlt' /&gt;}
    /&gt;
  &lt;/a&gt;
  </code></pre>
  <p>In the browser, alt and title renders as [Object][Object]</p>
  <pre><code>&lt;a title=&quot;[object Object]&quot;&gt;
      &lt;img id=&quot;masthead__logo__img&quot; src=&quot;../assets/images/logo.png&quot; alt=&quot;[object Object]&quot;&gt;
  &lt;/a&gt;  
  </code></pre>
  <p>How do I render FormattedMessage in this case?</p>