Replace single-item arrays with strings