Type correction

We sometimes use strings instead of floats to ensure we expose the same
thing the data providers gives us (important for the number of decimals
for example).