Fix syntax errors in example

A comma and closing bracket were missing from the readme example.