code: def get_dict_from_response(response):
      
      result = {}
      if getattr(response, '_resp') and response._resp.code > 400:
          return result
  
      for i in response.data:
          # strip the schema from the key
          k = i['Type'].replace(REMOTE_APP_RESOURCE_SCHEMA, '')
          result.setdefault(k, list())
          result[k].append(i['Value'])
      return result
docs: Prepare new mapping with 'Value's groupped by 'Type'.