def to_json
      hash = self.to_hash
      steps = hash['steps']
      hashified_steps = []
      steps.each { |step| hashified_steps << step.to_hash }