const array = [[90, 5], [94, 6], [100, 21], [111, 2]];
const values = [];
values['price'] = jQuery.map(array, function(i, v) {
return i[0]
});
values['amount'] = jQuery.map(array, function(i, v) {
return i[1]
});
return {
'price' : [90, 94, 100, 111],
'amount' : [5, 6, 21, 2]
}