fixes _beforeResponse with [arrays]