Update README.md

Fixed some typos in the example code.

The if statement was inverted, so it would never print anything if you had a valid intent 
when OnMessage was called. Also added missing arguments for WriteLine to print out keys & values from the message.