support document and vertex projections for single return and arrays; add pagination mixin; fix bug with single document return