Use primitives for double and float fields when deserialising