Update README

Update API example, show output for clarity.