add json AST to as (debug mode only) language to demo