Add expression to JSON output.