Added option to render single object as a collection