docs: def prepare(self, data):
          """
          Handles transforming the provided data into the fielded data that should
          be exposed to the end user.
  
          Uses the ``lookup_data`` method to traverse dotted paths.
  
          Returns a dictionary of data as the response.
          """
          result = {}
  
          if not self.fields:
              # No fields specified. Serialize everything.
              return data
  
          for fieldname, lookup in self.fields.items():
              if isinstance(lookup, SubPreparer):
                  result[fieldname] = lookup.prepare(data)
              else:
                  result[fieldname] = self.lookup_data(lookup, data)
  
          return result