I need to flatten an object like this:
{
  ProductId: {
    Id: "123456-1234-1234-1234-123456789012",
    Type: "product",
    Name: "Product"
  }
}
to look like
{
  ProductId_Id: "123456-1234-1234-1234-123456789012",
  ProductId_Type: "product",
  ProductId_Name: "Product"
}
and I'm currently trying to archive that with underscore, but _.flatten doesn't have have a parameter for that.
 
    