Fix model.whatTypeName for [] since currently returns undefined

calling model.whatTypeName() on an array [] field currently returns undefined. This results in array fields not being saved correctly since whatTypeName() is called from _forDB() which is called from save()