To minimize client/server writing, just write the columnName first. If it's length is 0, that means there's no familyName

            columnName = Bytes.readByteArray(input);
            if (columnName.length > 0) {
                familyName = Bytes.readByteArray(input);
            }