implement parameter-flexible document/get-by-key method
fix usage example