def ToJSon(self, columns_order=None, order_by=()):
    encoded_response_str = DataTableJSONEncoder().encode(self._ToJSonObj(columns_order, order_by))
    if not isinstance(encoded_response_str, str):
      return encoded_response_str.encode("utf-8")
    return encoded_response_str