Fixed yaml sample (fixes #189)

Changed format to collectionFormat.
Changed references to models.