don't catch parse errors. let them barf with a traceback
refactored node method to return type/value pairs