At least on this one you could do the 

```go
return a.(string) == string(b.([]byte))
```