Make FloatWitUnit and ArrayWithUnit compatible with pickle