add doc_path resolution hooks
Add traverse_dict_and_list func to utils
use traverse dict and list
Fixed an issue in count meta returns, fix broken tests