allow views returning only a single model instead of an array