code: def mkparam(self, method, pdef, object):
          
          if isinstance(object, (list, tuple)):
              return [self.mkparam(method, pdef, item) for item in object]
          return super(Document, self).mkparam(method, pdef, object)
docs: Expand list parameters into individual parameters each with the type
          information. This is because in document arrays are simply
          multi-occurrence elements.