adjust text search serialization