Added and tested a hybrid serialization approach. Need to benchmark.