Start on types
Remove BS from JSON-able types

We'll sign the whole thing and only use the contents. This way we avoid
binary data inside JSON
Use ByteString64 for JSON encoding of ByteString