to string method for case expression
JSON compilation of CASE expressions