Change move serialization from text to a binary encoding