I want to reorder this array:
[{ a: "v1", b: "v2"} , {a: "v3", b: "v4"}]
to this:
{a: ["v1", "v3"] , b: ["v2", "v4"]}
Note: It is necessary to guarantee order, the first array element should be the first element in the array value in each key object