code: def create(self, name, indexes = {}, fields = {}, **kwargs):
          
          for k, v in six.iteritems(indexes):
              if isinstance(v, dict):
                  v = json.dumps(v)
              kwargs['index.' + k] = v
          for k, v in six.iteritems(fields):
              kwargs['field.' + k] = v
          return self.post(name=name, **kwargs)
docs: Creates a KV Store Collection.
  
          :param name: name of collection to create
          :type name: ``string``
          :param indexes: dictionary of index definitions
          :type indexes: ``dict``
          :param fields: dictionary of field definitions
          :type fields: ``dict``
          :param kwargs: a dictionary of additional parameters specifying indexes and field definitions
          :type kwargs: ``dict``
  
          :return: Result of POST request