code: def resolve_args(self, args):
          
          def resolve(a):
              if isinstance(a, dict):
                  _id = a.get('i', None)
                  # If it's a compound type (including dict)
                  # Check if it has id (i) to determine that it has
                  # a reference in object storage. If it's None, then it's
                  # a dict originated at the remote
                  return self.objects[_id] if _id else a['v']
              # if array, resolve it's elements
              if isinstance(a, (list, tuple)):
                  return [resolve(i) for i in a]
              return a
  
          return [resolve(a) for a in args]
docs: Resolve function call arguments that have object ids
          into instances of these objects