refactor, moving search() method from AuthClient to static method in CollectionDocJson