Fix htsmsg_json_write() to write HMF_DBL values correctly. Update htsmsg_get_dbl() to handle string and int values. Note: float/double values in JSON must be locale independent ie use period for decimal point.