Only parse arrays with elements of the same type.