def serialize_hook(self, hook):

        return {
            'hook': hook.dict(),
            'data': {
                'id': self.id
            }
        }
Used to generate a skinny payload.
dataset/ETHPy150Open PressLabs/silver/silver/models.py/BillingDocument.serialize_hook