Flexible, high-performance object serialization format