code: def values(self):
          
          def collect(d):
              if d is None or d.get('FIRST') is None:
                  return []
              vals = [d['FIRST']]
              vals.extend(collect(d.get('REST')))
              return vals
          return collect(self)
docs: Return the list of values.