code: def get_appstruct(self):
          
          result = []
          for k in self._get_keys():
              result.append((k, getattr(self, k)))
          return result
docs: return list of tuples keys and values corresponding to this model's
          data