Read doubles from json properly.