Workaround to bad array generation from Swagger. Fixes #5, #6.
Show bare reference name instead of error. Fixes #3 and #7