This could be limited to only search in lists at least instead of traversing the whole document.