handle both models and collections with respondWith