ensured data passed to request is an array