<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _nest_payload(self, keys, payload):
 """ Nest a payload in a dict under the keys contained in `keys` """

        if len(keys) == 0:
            return payload

        return {keys[0]: self._nest_payload(keys[1:], payload)}