Renamed getDocumentsContainsObjectById to getDocumentsContainingObjectById and added pagination