Added support for json object projections
Added support for both JSON based sort objects and regular sort strings