serialize

fun serialize(operations: List<Operation>): ByteArray