Attempting to fix broken array element parsing