code: def load_into_collection_from_stream(collection, stream, content_type):
      
      rpr = as_representer(collection, content_type)
      with stream:
          data_el = rpr.data_from_stream(stream)
      rpr.resource_from_data(data_el, resource=collection)
docs: Loads resources from the given resource data stream (of the specified MIME
      content type) into the given collection resource.