Q:

jQuery JSON converting time values to numeric values

I'm having a problem with a JSON conversion by jQuery AJAX.
Ajax Setup
$.ajax({
  url: 'ajax/get_available_schedule.php',
  type: 'GET',
  dataType: 'json',
  data: {field: field, day: day, hour: inicio},
})

I have this response from server
{"success":true,"ranges":[["22:00","22:30"],["22:30","23:00"],["01:30","02:00"],["02:00","02:30"]],"close":"03:30"}

But at the moment I do a 'console.log' of the response in the Ajax success, it will convert to this:
close: "03:30"
ranges: Array(2)
0: (2) [5400, 9000]
1: (2) [79200, 82800]
success: true

I don't know why the 'ranges' array are converted to numbers, I want that be likely the response, an array of 2 strings
I try to Google the problem but I don't find anything, or I don't know how to search it. 

A:

The problem was the disabled_hours var in timepicker library option declared later in the code. 
It changes the value of disabled_hours, and I can't looking in the console until after it is changed.
$.ajax({
  url: 'ajax/get_available_schedule.php',
  type: 'GET',
  dataType: 'json',
  data: {field: field, day: day, hour: inicio},
})
.done(function(dataSCHEDULE) {
  console.log(dataSCHEDULE);
  // debugger;
  if (dataSCHEDULE.success) {
    disabled_hours  = dataSCHEDULE.ranges;
    console.log(disabled_hours);
    close_hour      = dataSCHEDULE.close;
  }
  else {
    console.warn('API ERROR -> Getting available hours');
  }
})
.fail(function(error) {
  console.error('API ERROR -> Getting available hours');
  console.log(error);
});

