Revert "Remove the usage or {array, []} types and introduce a {text, []} type"

This reverts commit cb9940b2fd5b75ac5870dc27a2240452bc43b2de.