Replaced json with msgpack because it supports binary data.