Remove msgpack and replace with json package