input: Write a function to parse a JSON data structure and return the 'name', 'age', and 'occupation' fields.
  
  def parse_json(data):
   data = json.loads(data)
   return data['name'], data['age'], data['occupation']
  
  assert parse_json(json.dumps({ "name": "John", "age": 18, "occupation": "Software Engineer" }))==('John', 18, 'Software Engineer')
  assert parse_json(json.dumps({ "name": "Alice", "age": 30, "occupation": "Teacher" }))==('Alice', 30, 'Teacher')
  assert parse_json(json.dumps({ "name": "Bob", "age": 25, "occupation": "Doctor" }))==('Bob', 25, 'Doctor')
output: def parse_json(data):
      data = json.loads(data)
      return data['name'], data['age'], data['occupation']