Consistently return numeric values from server.

At the moment the server sometimes returns the timestamp as a string, and sometimes as a number, depending on whether the values have been read from Redis or the disk store. This change means that the timestamp will always be returned as a number. Additionally, the value will be returned as a float (instead of a string).