Fix errors in README examples

The existing examples were giving errors:

```go
./main.go:43: type logrus.JSONFormatter is not an expression
```

and

```go
./main.go:43: undefined: logrus
```