model-helper: handle array types with no item type

The bug was discovered when running the explorer in `looopback-workspace`.

/to @raymondfeng please review
/cc @ritch @STRML