Fix model.whatTypeName for [] since currently returns undefined