Make sure import data is an array