better performancance using hashmap for findAllTextObject