title: Group by key value pairs whilst merging duplicates using ramda
body: <p>I have an array of form errors that look like this:</p>
  
  <pre><code>[
    {
      "path": "email",
      "message": "email must be at least 10 characters",
    },
    {
      "path": "email",
      "message": "email must be a valid email",
    },
    {
      "path": "password",
      "message": "password must be at least 8 characters",
    }
  ]
  </code></pre>
  
  <p>The shape needs to be transformed so that it fits the form’s error API. What I’d like to do is to transform it using ramda so that it ends up like this:</p>
  
  <pre><code>{
    email: ["email must be at least 10 characters", "email must be a valid email"],
    password: ["password must be at least 8 characters"]
  }
  </code></pre>
  
  <p>What would be the best choice of ramda functions to use to achieve this?</p>