input: Write a python function to compare two JSON objects and check if they have the same keys and values.
  assert json_compare('{"name": "John", "age": 30}', '{"name": "John", "age": 30}') == True
  assert json_compare('{"name": "John", "age": 30}', '{"name": "John", "age": 31}') == False
  assert json_compare('{"name": "John", "age": 30}', '{"name": "Jane", "age": 30}') == False
output: def json_compare(json1, json2):
      import json
      
      dict1 = json.loads(json1)
      dict2 = json.loads(json2)
      
      return dict1 == dict2