It's close, but it would change things like `"#///foo"` to `foo`, which I don't think we want.

This part is very hacky and we should probably look into using a library for it. Maybe [gojsonpointer](https://github.com/xeipuuv/gojsonpointer)? Want me to add a `TODO` about it?