Returning data objects from the db collection.