input: Write a function to parse a JSON data structure and return the 'name', 'age', and 'occupation' fields. The function should use the json library to load the data.
  
  import json
  
  def parse_json(data):
   data = json.loads(data)
   return data['name'], data['age'], data['occupation']
  
  assert parse_json('{"name": "John", "age": 18, "occupation": "Software Engineer"}') == ("John", 18, "Software Engineer")
  assert parse_json('{"name": "Jane", "age": 22, "occupation": "Data Scientist"}') == ("Jane", 22, "Data Scientist")
  assert parse_json('{"name": "Michael", "age": 30, "occupation": "Teacher"}') == ("Michael", 30, "Teacher")
  assert parse_json('{"name": "Emily", "age": 25, "occupation": "Nurse"}') == ("Emily", 25, "Nurse")
output: def parse_json(data):
   data = json.loads(data)
   return data['name'], data['age'], data['occupation']