Implement alt string serialization for ghosts