docs: def parse_json(raw_json):
          """Parse a Puppet forge JSON stream.
  
          The method parses a JSON stream and returns a list
          with the parsed data.
  
          :param raw_json: JSON string to parse
  
          :returns: a list with the parsed data
          """
          result = json.loads(raw_json)
  
          if 'results' in result:
              result = result['results']
  
          return result