Changed datapoint value from double to float (trying to fix json encoding issue...)