Fix htsmsg_json_write() to write HMF_DBL values correctly. Update htsmsg_get_dbl() to handle string and int values