Research of performance and space consumption of different serialization methods.