code: def to_strings(self, resource):
          
          collections = self.__collect(resource)
          # Build a map of representations.
          rpr_map = OrderedDict()
          for (mb_cls, coll) in iteritems_(collections):
              strm = NativeIO('w')
              dump_resource(coll, strm, content_type=self.__content_type)
              rpr_map[mb_cls] = strm.getvalue()
          return rpr_map
docs: Dumps the all resources reachable from the given resource to a map of
          string representations using the specified content_type (defaults
          to CSV).
  
          :returns: dictionary mapping resource member classes to string
              representations