Properly unmarshal doubles and lists of doubles.