validate that this is an array and not just a string? If a string you can either be nice and try to split or you can just throw an error.