Moved to avro binary encoding
Added pluggable protobuf and avro serialization features.