fixing ConsString serialization issue