Improve README code snippets

Signed-off-by: Chris Aniszczyk <zx@twitter.com>