Turn the data into a single CSV record (row)

        :spec: jsonapi.org/format/#document-resource-objects
        :param data: dict
        :return: dict

def _serialize_data(self, data):
        """ Turn the data into a single CSV record (row)

        :spec: jsonapi.org/format/#document-resource-objects
        :param data: dict
        :return: dict
        """

        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)