matcher: perform descendent iteration if key contains '.'
doc: add example and docs for client side document matching.