Fix isListType to handle array data types that also contain square brackets.
Set models on resources when accessed via a specific API sub-path.