Switched from json serialization to messagepack.