code: def json(self, start=None):
          
          if start is not None:
              data = self.data[start]
          return json.dumps(self.data, indent=4)
docs: :param start: start key in dot notation
          returns the dict in json format
          :return: json string version
          :rtype: string