from typing import Any, Dict


def _to_dict(value):
    return value


class Payload:
    def to_dict(self) -> Dict[str, Any]:
        return _to_dict(self)