Add ability to turn collection to dict

Also add pagination helpers