Change to get Expression in string format.

Signed-off-by: Pengcheng Bian <pbian@actuate.com>