Fix genNode to fill version and time in right field.

should switch version and time.