Cast ApiData elements as array