Fix build structure message to serialize.