Fish Wang says to OKTW Network
var obj = {} obj[key] = obj[key] || []; obj[key].push(item)