Better schema generation for arrays with {@type associative} and {@type indexed}