class Cucumber::Formatter::Json

def after_feature_element(feature_element)

def after_feature_element(feature_element)
  # change current object back to the last feature
  @current_object = last_feature
end