SIP arrange: manipulate ES response data in JS