add support for json packer/unpacker