Added a new function to generate JSON representation of the parse tree
Added component to return parsed syntax tree