Fix comparison issue. Now using the equality operator that check types "!==" and "===" with the values to make sure that if the value of a property is "0" (the integer zero) that it is no equal to the empty string. So:

  $value = 0;

  $value != ''    ->    This is evaluated to FALSE
  $value !== ''   ->    This is evaluated to TRUE

We want the later, otherwise if the value is the integer 0, it get ignored when we serialize the resultset.