replaced null with UNDEFINED object, also added tenuring parsing in generic parser