input: 
  import json
  
  def parse_json_to_dict(json_str: str) -> dict:
      """ Given a json-formatted string, parse it into a dict using
      the json module in Python.
      
      >>> parse_json_to_dict('{"name": "John", "age": 30, "address": {"city": "New York", "state": "NY"}}')
      {'name': 'John', 'age': 30, 'address': {'city': 'New York', 'state': 'NY'}}
      >>> parse_json_to_dict('{"name": "Jane", "age": 25, "address": {"city": "Los Angeles", "state": "CA"}}')
      {'name': 'Jane', 'age': 25, 'address': {'city': 'Los Angeles', 'state': 'CA'}}
      """
      return json.loads(json_str)
  
output:     return json.loads(json_str)