code: def _serialize_data(self, data):
          
  
          data.update(data['include'])
          data.update(data['to_many'])
          data.update(data['to_one'])
  
          for key, val in data.items():
              if isinstance(val, dict):
                  pass
              elif isinstance(val, list):
                  pass
              else:
                  str(val)
docs: Turn the data into a single CSV record (row)
  
          :spec: jsonapi.org/format/#document-resource-objects
          :param data: dict
          :return: dict