Improve numpy array serialization to include dtype.
v0.4.2 release