Update README.md

adding getObject example to README