Improved setColumns() code handling Arrays and LinkableHashMaps.