Improving serialization overheads