if we changed this do be a two line if (instead of using the semicolon, logic check) we could write it like:

```go
js, ok := js.GetIndex(0).CheckGet("datapoints")
if !ok {
   return "", errors.New("datapoints not found")
}

// success case follows (unindented)
```

we also wouldn't need to pre-declare the `byte_response` variable anymore, this way.