Added option to get the property of an object. Updated readme with more interesting example.