Refactor AST.toString
Introduce scala.Some into JavaCC grammer file to avoid null