input: Write a function to parse a json-formatted string into a dictionary. 
  
  import json
  
  def parse_json_to_dict(data):
      return json.loads(data)
  
  assert parse_json_to_dict('{"name": "John","age": 30,"address": {"city": "New York","state": "NY"}}')=={'name': 'John', 'age': 30, 'address': {'city': 'New York', 'state': 'NY'}}
  assert parse_json_to_dict('{}')=={}
  assert parse_json_to_dict('{"key": "value"}')=={'key': 'value'}
  assert parse_json_to_dict('{"numbers": [1, 2, 3]}')=={'numbers': [1, 2, 3]}
  assert parse_json_to_dict('{"is_true": true}')=={'is_true': True}
output: import json
  
  def parse_json_to_dict(data):
      return json.loads(data)