protected function returnJSON($value) { $result = JsonUtils::Instance()->VarToJSON($value); //echo "returnJSON: $result"; return $result; }