Closes #362 - Make API data objects immutable

i was about to add the static initialization block by declaring it above

```
public static final Bytes EMPTY = Bytes.wrap(new byte[0]);
```

The `bytes.wrap()` was causing issues.