Serialization: completed the work to improved performance on unmarshalling
Fixed bug on new optimized serializer