title: How to pass param as an object with React-Navigation deep linking?
body: <p>I use React-Navigation deep linking to get params from an Url but I would like to pass these params to an object. Now I do this :</p>
  <pre><code>prefixes: [Linking.makeUrl('/'), 'https://test.app', 'https://*.test.app'],
    config: {
      screens: {
        App: {
          screens: {
            Chat: {
              path: 'chat/:firstName/:lastName/:birthdate',
              parse: {
                firstName: (firstName: string) =&gt; decodeURIComponent(firstName),
                lastName: (lastName: string) =&gt; decodeURIComponent(lastName),
                birthdate: (birthdate: string) =&gt; decodeURIComponent(birthdate),
              },
            },
  </code></pre>
  <p>This is the result :</p>
  <pre><code> const { firstName, lastName, birthdate} = route.params
  </code></pre>
  <p>And what I need is an object with inside firstName, lastName, birthdate :</p>
  <pre><code>const { userObject } = route.params
  </code></pre>