first pass at transforming the parslet output into an AST