Deal with empty array by storing it as text